package com.ruoyi.api.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.ruoyi.api.domain.Products;
import com.ruoyi.api.vo.ProductVo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface ProductsMapper extends BaseMapper<Products> {
    List<Products> listData(@Param("param") Products products);

    ProductVo ById(@Param("productId") Integer productId);

}
